import { createStore } from 'vuex';
import employee from "@/store/modules/employee.js";

// 创建一个新的 store 实例
const store = createStore({
    state () {
        return {
            count: 0
        }
    },
    getters: {},
    mutations: {
        increment (state) {
            state.count++
        }
    },
    actions: {},
    modules:{
        employee
    }
})

export default store;